/*
* APP内部的常量，不需要设置
* */

//页面的index
import 'imageres.dart';

class PageIndex {

  //女性健康主界面
  static const mainHealthPage = '/';

  //女性健康主界面
  static const mainFlutterHealthPage = '/womenhealth/main_health';

  //周期长度
  static const physiologicalCyclePage = "/womenhealth/physiological_cycle";

  //经期长度
  static const periodLengthPage = "/womenhealth/period_length";

  //月经时间
  static const menstrualTimePage = "/womenhealth/menstrual_time";

  //月经规律选择
  static const periodicLawPage = "/womenhealth/periodic_law";

  //周期记录日历
  static const cycleCalendarPage = "/womenhealth/cycle_calendar";

  //周期历史
  static const cycleHistoryPage = "/womenhealth/cycle_history";

  //记录经期
  static const recordMenstrualPage = "/womenhealth/record_menstrual";

  //经期设置
  static const menstrualSettingPage = "/womenhealth/menstrual_setting";

  //目标设置
  static const targetSettingPage = "/womenhealth/target_setting";

  //说明选择
  static const explainSelectPage = "/womenhealth/explain_select";

  //环形说明
  static const circularExplainPage = "/womenhealth/circular_explain";

  //图表说明
  static const chartExplainPage = "/womenhealth/chart_explain";
}

// app内部eventbus的事件
class HealthDataType {
  static const REFRESH_READLANGFINISH = 1;
  static const REFRESH_READLOCALFINISH = 2;
  static const REFRESH_MAINHEALTH_DATA = 3;
  static const REFRESH_SETTING_CYCLEVALUE = 4;
  static const REFRESH_SETTING_PERIODVALUE = 5;
  static const REFRESH_SETTING_REGULARLY = 6;
  static const REFRESH_SETTING_TARGETVALUE = 7;
  static const REFRESH_SETTING_MENSTRUALTIM = 8;
  static const REFRESH_MENSTRUAL_RECORD_DATA = 9;
  static const REFRESH_CURRENT_MENSTRUAL_RECORD_DATA = 10;
  static const REFRESH_CURRENT_HEALTH_DATA = 11;
}

//原生APP eventbus的事件
class HealthNativeDataType {
  static const INIT_WOMEN_HEALTH_DATA = "init_women_health_data";
  static const SET_WOMEN_HEALTH_DATA = "set_women_health_data";
  static const READ_USER_ID = "read_user_id";
  static const READ_HEALTH_HISTORY = "read_health_history";
  static const WRITE_HEALTH_HISTORY = "write_health_history";
  static const READ_TEMPERATURE_DATA = "read_temperature_data";
  static const READ_HRV_DATA = "read_hrv_data";
  static const READ_HR_DATA = "read_hr_data";
  static const SET_WOMEN_CONCEPTION_DATA = "set_women_conception_data";
  static const SET_WOMEN_PREDICTION_DATA = "set_women_prediction_data";
  static const RESET_WOMEN_CONCEPTION_DATA = "reset_women_conception_data";
}

//APP的图片列表数据
class ImagePathData {
  static const selectedFlowPaths = [
    ImageRes.ic_very_light,
    ImageRes.ic_flow_light,
    ImageRes.ic_flow_medium,
    ImageRes.ic_flow_heavy,
    ImageRes.ic_very_heavy,
  ];

  static const selectedColorPaths = [
    ImageRes.ic_light_red,
    ImageRes.ic_bright_red,
    ImageRes.ic_dark_red,
    ImageRes.ic_color_brown,
    ImageRes.ic_color_black,
  ];

  static const selectedDysmenorrheaPaths = [
    ImageRes.ic_no_pain,
    ImageRes.ic_dysmenorrhea_mild,
    ImageRes.ic_dysmenorrhea_noticeable,
    ImageRes.ic_dysmenorrhea_severe,
    ImageRes.ic_dysmenorrhea_extreme,
  ];

  static const selectedSymptomPaths = [
    ImageRes.ic_abdominal_pain,
    ImageRes.ic_headache,
    ImageRes.ic_breast_tenderness,
    ImageRes.ic_body_ches,
    ImageRes.ic_low_pain,
    ImageRes.ic_back_pain,
    ImageRes.ic_constipation,
    ImageRes.ic_diarrhea,
  ];

  static const selectedLeucorrheaPaths = [
    ImageRes.ic_sticky,
    ImageRes.ic_paste_like,
    ImageRes.ic_watery,
    ImageRes.ic_egg_white_like,
  ];

  static const selectedMoodPaths = [
    ImageRes.ic_mood_happy,
    ImageRes.ic_mood_calm,
    ImageRes.ic_mood_tired,
    ImageRes.ic_mood_anxious,
    ImageRes.ic_mood_depressed,
  ];

  static const selectedOvulationPaths = [
    ImageRes.ic_not_ovulated,
    ImageRes.ic_ovulated,
  ];

  static const selectedSexPaths = [
    ImageRes.ic_sex_have,
    ImageRes.ic_sex_not_have,
  ];

}
